package com.chixing.service;

import com.chixing.entity.Coupon;
import com.chixing.entity.Mycoupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.util.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smith
 * @since 2025-09-22
 */
public interface IMycouponService  {
    public Result getById(Integer myCouponId);
    //用户领取优惠券（添加操作）
    public Result save(Mycoupon mycoupon);
    //获取所有优惠券
    public Result getMyAllCoupons(Integer userId,Integer mycouponStatus);
    //使用后修改优惠券的状态
    public Result updateStatus(Integer myCouponId,Integer myCouponStatus);
}
